Improved speed of CSV exports