Fixing unicode issues with newest python 2.7.6