If cap3 has non-zero exit value and recovery command is set in
configuration then we copy the files necessary for re-running it so we
can run it on the command line for debugging.