Add gitattributes file and normalize line endings