Redirect stdout and stderr back to screen.

def unredirect_stdout(self):
        """Redirect stdout and stderr back to screen."""
        if hasattr(self, 'hijacked_stdout') and hasattr(self, 'hijacked_stderr'):
            sys.stdout = self.hijacked_stdout
            sys.stderr = self.hijacked_stderr