Reimplement ExportOp in a streamed fashion.

Fixes #85 and #90