This way we can detect failure of dump / restore commands when used with the 'pipe' handler (when we're using shell pipes for composition).