Simple system for writing an array to CSV row by row