Fix opening files in Python
Always pass encoding='utf8' to the built-in open() function so files are never opened in a locale-dependent encoding.
Always pass encoding='utf8' to the built-in open() function so files are never opened in a locale-dependent encoding.