Change DefaultFilePersistence to use tmpDir instead of userDir