(close_stdout_status): If ferror (stdout), do not silently exit merely because the output buffer happens to have nothing pending.