Adding the ability to specify the type of output to a file while maintaining backwards compatibility with the current options.  Also allowing a new output type CSV_TS which prefers the unix timestamp of the entry first.