normalize line endings

This activates logic which, unintentionally, has been skipped until now.
Merge pull request #35 from davidchambers/line-endings

normalize line endings
add "print" option for outputting rewritten source