support for Windows and Unix line breaks in csv

Fixes #125
Applies to #116