fixing export-rows, must return a file-like obj