BUG: fix usage of unicode literals that breaks Python 3.2 support.

(cherry picked from commit 21b2b6250b2db69e99973489e992b2a09e92b3b1)