fixes for Python3 unicode_literals