Normalize end-of-line sequences to a single '\n'

Decreases performance a bit and increases the size a bit. But, well,
correctness is important. :-(
3 files changed