Thrift: Encode non-utf strings/binary as hex streams