Add cli-fs dependency.
Improve error handling in exec middleware.
Handle exec subcommand error event.