Move `exit_with_failure()` to `helpers`-module.