Create .gitattributes

This should handle the .lyx file issue automatically.