Saving files before refreshing line endings
Added gitattributes file for line endings