Tried write_block

byte in C is char, and if we use byte, we might get accused of cheating.