Add `fd.dup()` to wrap os.dup() and os.dup2()
Add a test to verify filedes.subprocess.Popen()'s close_fds