update gitattributes, and line endings

Fixes, now images being treated as binary.