Add tests for getting filenames not encoded with filesystem encoding