Cache file contents; add hash property to stats; reject writes for inconsistent hashes