net: add .gitattributes (fixes windows build)

Fixes #9281

Change-Id: I144afc9736d3d0ba1cdd2693efd0c7f07b1b8bf3