Reformat write_byte()