Refs #9119. Restore format of the stream.
Refs #9119. Fix "Dereference after null-check" errors
Refs #9119. Add missing member initializations
Merge remote branch 'origin/bugfix/9119_muon_coverity_issues'