Add max_write_buffer_size to iostream.