I think the SAS7BDAT format is suitable for multithreaded processing. Outputing to CSV is a pain and I think it would good to output to a more modern format such as [fst](fstpackage.org)