streaming export (for csv)