Fixed CSV writing to actually use csv python module
Fixed CSV writing to actually use csv python module

This fixed issues with writing out invalid CSV files when filenames had
commas in them. The csv module correctly quotes these values based on
comma/quote presence.

Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK,Purg/SMQTK