MFC revisions 1.48-1.50:  * Print error messages where appropriate, and print the right one.  * Properly handle errors in archive_write_close.  * Correct resource leak in @<archive> handling.
MFC revisions 1.48-1.50:
 * Print error messages where appropriate, and print the right one.
 * Properly handle errors in archive_write_close.
 * Correct resource leak in @<archive> handling.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase