Add a .gitattributes file to make sure files are checked out with correct line endings