option to ignore carriage return

As suggested on issue #42