Add CR/LF automatic normalization.

Fixes issue #3.