util.stringio is an alias to io.BytesIO. Let's just use io.BytesIO
directly.
I'm doing this because I noticed that in some cases pytype wasn't able
to infer the proper type of util.stringio. Removing the indirection
will enable type checking to work better.