Fixes handling of windows line-endings.
Merge pull request #83 from non/bug/whitespace

Fixes handling of windows line-endings.