On Python 2, leave all fds open since there is no mechanism to close specific fds with subprocess.Popen() on Python 2 Add unit tests. Co-authored-by: Matt Martz <matt@sivel.net>