Use bytestrings for the keys of **kwargs dicts

Python < 2.6.5rc1 does not work with unicode keys. Fixes #302.