Refs #8587 Fix support for platform independent new lines.
Merge branch 'feature/8587_DOS_port' into develop