Converted all line endings to LF and added .gitattributes to prevent any future problems.