pub fn write_string_block<W: Write>(writer: &mut W, s: &str) -> Result<()>
Writes a string block (i32 size prefix, then byte size prefix for content).