Drop to_bytes() in favor of inline UTF-8 encoding
Drop to_bytes() in favor of inline UTF-8 encoding

We should only need to perform the UTF-8 encoding step when we are handed
a Unicode string, and performing the encoding inline lets Cython translate
this directly into a call to PyUnicode_AsUTF8String().

adsharma/flattools,adsharma/flattools,eleme/thriftpy,adsharma/flattools,eleme/thriftpy