Made it compatible with python 2.7

explicit conversion of unicode into str