Refactor CLI to not hide exceptions from filesystem pipelines