Maybe you should just do `from __future__ import unicode_literals` to make all strings in this file unicode by default.