Implement #newline_default and adjust testdata and scripts to use it.

23 files changed