Damn. On Linux, sys.getfilesystemencoding is actually a preference