Escape using a type we can stream

Unlike the conversion function, this doesn't require as much memory as
is present in the string.