Fix a few places where a str instead of a bytes object was used.
diff --git a/Lib/io.py b/Lib/io.py
index 2b85da7..4ac4e45 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -1047,7 +1047,7 @@
             return self._encode_decoder_state(decoder_state, position)
         saved_state = decoder.getstate()
         try:
-            decoder.setstate(("", decoder_state))
+            decoder.setstate((b"", decoder_state))
             n = 0
             bb = bytes(1)
             for i, bb[0] in enumerate(readahead):