The linebreak in the end of the csv line is now being removed.