Add .gitattributes file to better deal with line endings.