shimexe: for programs that exit quickly, make sure any remaining output on stderr or stdout is pumped to the right output stream