py3: better bytesio