Update normalizeLineEndings arg to be an options hash

Also deprecate the old signature.
:memo: Update docs for new options hash