Fix missing newline at end of printing
Use the file_stat to check for existence
Get the archive error before closing, the close clears it
Don't check for existence first, the reader will do that