Fix the `fail` function, to properly capture the output of the daemon process in case of failure.
This new command will, given an executable, try to produce all artifacts. By default it will run `revng daemon`, however an external address can be provided to test remote daemons, e.g. running inside a container.