Handle unicode mess in py2 only