python3 support broke unicode filenames in python2