Correct formatting of csv output.