The data directory can now be set for saving the CSV files in polling.  It is set using the dataDir config key.  This fixes #6205.