fixes end line in widows

Also adds .gitattributes to prevent having this issue in the future

All the changes were automatically generated by Github for Windows.


Windows build was tested after these changes and it works OK.