Fix broken .gitattributes to something more sensible.
Merge pull request #2321 from pgimeno/gitattributes

Fix broken .gitattributes to something more sensible.
Revert "Merge pull request #2321 from pgimeno/gitattributes"

This caused some confusion. Reverting until we figure it out.

This reverts commit 545161c75f0b3d12b53054c551496bf88a736c7f, reversing
changes made to 3447f24067ec593c9a54d665c5a1bf66546aa7a7.