Single bytes can be written to fz_output streams using fz_write_byte:
Blocks of bytes can be written to fz_output streams using fz_write: