caca/video: Properly error-check stdout/stderr.log