[1.7.x] Removed some u'' prefixes to fix Python 3.2.

Backport of 317c480c04 from master