Addresses unicode issues in Python 3
Fixes #79