Add our own raw_convert that uses SafeStringStream.