Now using codecs to convert unicode back to a bytestream in all wrapper functions, inlcuding those with unkbytestrs.