Python 2.7 unicode fix