[#14] make sure ftruncate flushes the FilePaths dir cache