Merge "CloseArchive() to free memory when OpenArchive fails."