fn write_binary_output<W: Write>(writer: W, content: &[u8]) -> Result<()>
Write binary output to writer