Issue #9425: file system encoding is not always utf-8

Fix a regression introduced in test_sys by r83778.
1 file changed