deal with path/file name encode error