Fixed missing "unicode" function in Python 3