Fix handle is invalid error on windows

The package doesn't work on windows due an issue with python on windows
which is documented here: http://bugs.python.org/issue3905
It's basically caused if you don't tell subprocess to PIPE all of the
handles so the fix is to specify stdin = subprocess.PIPE
Merge pull request #12 from bpugh/windows_issue

Fix handle is invalid error on windows