Typo in Directory.create
Block external changes around the execution of unlink and moveToTrash