Python2 fix for utf-8 characters in file paths