fix filePicker issue

fix the issue that filePicker does not work when file path contains non-ascii characters like German umlaut