Change unicode to str for Python 3.3