Refs #9979 Add system test to check output files.

This should help prevent issues like this in the future.
Refs #9979 Trim line end whitespace.
Merge remote-tracking branch 'origin/bugfix/9979_c2e_saveascii_v1'