Fix for subprocess.Popen

Fix for Popen and PyInstaller per http://www.pyinstaller.org/ticket/6