Monkey patch sh module instead of logging.