Fix another file descriptor leakage in stderr redirection code.