Bugfix: Respect both windows, mac and unix newlines