Fix an output redirection error.