Remove \r at end of lines

Fixes #3