add gitattributes

should hopefully prevent weird line ending problems from recent commits