Attempted to support non-ascii filenames
Attempted to support non-ascii filenames. Didn't work, though.