make CatchOutput also catch what python itself writes to stdout/stderr