Added convenience method to AbstractAnalyzer to help write CSV to file