fix 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.