Fixed crash in FileHelper.emptyDirectory() when file doesn’t exist