Bugfixes to stdout/stderr redirection and the FORK option.