Creates a Filter suitable for converting line-endings to the currently set new-line format.
this |
a FormatOptions or null |
ensure_newline |
true if the output must *always* end with a new line |
a Filter to convert to the specified new-line format. |