722ddc9f91
`resolveDependencies` showed up as a hotspot when profiling due to `canonicalPath` doing a lot of file system calls. `fileKey` is more efficient and should guarantee uniqueness (`canonicalPath` may fail in the case of hardlinks). The new code is 3x faster in our use case.