Ensure that pathinfo() does not skip Chinese filenames