Add .gitattributes file to ensure proper line endings

Closes #2