Fixed a bug where stderr was not getting through.