```python
with open(filename, "wb") as output_stream:
    output.write(output_stream)
```