Backport of the subprocess module from Python 3.2-3.5
