Add .gitattributes file to deal with line endings