Coerce keyword arguments to str for 2.6<=Python<=2.6.2

Early releases of Python 2.6 will raise TypeError if given keyword args
where the keywords are Unicode strings.  This can happen when for Python 3
compatibility, code uses  from __future__ import unicode_literals