Fix python 3 unicode object