Evict file cache before writing new entry.

See #364.
See #359.
See #358.
See #107.
See #4.