Reuse tmpfiles

  - [x] Figure out what's wrong with ``hash_file_mtime``
  - [x] More tests