handle carriage return in strip_newline, closes #126
Merge pull request #203 from phoet/strip_carriage_return

handle carriage return in strip_newline, closes #126