Contao Hook to prevent unwanted characters in file names.