unicode is replaced by 'str' in Python 3