update from MirBSD CVS: never close stdout or stderr (or stdin)