Enforce localization for non-ascii-filenames hook