Make unicode.py py23-compatible