Minor fix to the .gitignore file and a new .gitattributes file.