Allow custom line endings

Our most frequent request when integrating with customers is to provide csv files using windows line endings, this pr adds support for this, or any other line ending characters