Fixed encodings for python3.4