Hashing file content was an overkill.
Key by (absolute path, size, mtime) instead.
Also use pstore instead of dir for caching.