Add .gitattributes so git won't get confused by inconsistent line endings in the working directory.