Add .gitattributes to set line endings automatically.