Correctly delete moved files.