Fixes unicode issue on Python 3