Fixes brittleness of tests affected by git's lossy treatment of line endings.