Added universal newline character support.

Fixes issue #28