Added function for removing diacritics, use when encoding file names.