Updated .gitattributes.

Updated .gitattributes to reflect changes for automatically detecting
line endings and removed the previous .gitattributes.txt file due to
wrong file extension.