Fix filenames charset handling (#1488946)