Applied patch from Jim Meyering; if we open an output file but stderr is closed,...