Convert source files to unix newlines

Previously some files had unix newlines while others had dos newlines.
Consistently use unix newlines in the git repo - if necessary git can
convert them to dos newlines on windows platforms on checkout.