Improved conversion between ByteString and String