Add *.txt eol=crlf to .gitattributes