More portable way to temporarily close stderr, according to C-wiser people.