yamlcache: Lookup files in the cache without reading the file

For files that are not part of a junction (i.e. not checked-out into a
temporary directory), use the mtime to see if the file has changed.

For files that are, use the junction element's cache key.
3 files changed