Stream file when exporting csv