Fix unicode issue on python 2.7