Add .gitattributes to normalise line endings.