Add jimfs as a test dependency
Use marschall/memoryfilesystem instead of jimfs

Unlike jimfs, it supports POSIX file permissions; we want that for tests.