Cache by filename, not compilationUnit

We search by filename – it doesn’t make sense to cache by compilation
unit instead.

If we really have a mismatch between compilationUnit and filename, then
caching by compilationUnit won’t get us anywhere.