Add additional exception handling when exporting data.

Continue on in script and send an email alert if any dataset fails to
publish. For CSV export errors, send detailed log of failed records to
report data quality problems.