DRILL-972: Add newline if no delimiter is specified; avoid rescanning (contains DRILL-950).