Changed mint-stats to output csv to file specified as third argument.