replace locale.getpreferredencoding() with sys.getfilesystemencoding()
replace locale.getpreferredencoding() with sys.getfilesystemencoding()

MSLNZ/msl-loadlib,MSLNZ/msl-loadlib,MSLNZ/msl-loadlib,MSLNZ/msl-loadlib,MSLNZ/msl-loadlib