Add .gitattributes to set correct line ending style on various files.