Fixed deleteEmptyDirectory typo