`iter_bytestring` yields ints - but we need the bytestring itself here (as `write()` only accepts bytes)