update gitattributes, and line endings