Refs #8587 Fix support for platform independent new lines.