Python 3.2 unicode workaround