Hash stdout and stderr.