Fix insane 60GB local csv creation bug