All failures now go through handle_failure().  It calls handle_app_failure() and
handle_worker_failure() based on the type of failure. This simplifies code and
removes the use of goto.
Proceed to get other output files even if there was an app-level failure in getting
one of them.