The checked-in files use Unix-style line endings, so use
`LineEnding::LF` in tests, rather than `Default::default` (which uses
OS-specific line endings.
Also adds a `.gitattributes` file which specifies these files should
always be checked out with `eol=lf`.