option to ignore carriage return

as suggested on issue #42