common: Speedup closing fds before an exec.