enforce utf-8 encoding for Python 2 to fix encoding issues