Add .gitattributes and normalize line endings