Unicode fix

Currently if an unicode string is passed as a topic to <producer> or
<consumer>, an exception will be thrown.  This allows a unicode string
to be passed as a topic, and should be both python2 and python3
compatible.