Default argument for OutputStream::write_buffer

Adding the io parameter to OutputStream::write_buffer breaks backward compatibility with v1.1.0. Adding a default value reinstates backward compatibility.