Fixed a bug that crashes Mimosa when deleting/renaming a file

When deleting/renaming a file inside an import source directory, Mimosa was crashing.