Detect error in $deblob by teeing the whole if/cmd into a temp file,