Lock down the line endings.

Uses github's recommended .gitattributes.