Fix writes for large responses