Fix issue with Windows line endings

Fixes #29