MDL-39052 do not use unnecessary temporary files when parsing csv files