Change stdout and stderr definitions. Fix #14.