For running in Windows

To run on Windows path seperator must be changed.
Also close_fds is not available on Windows.
Merge pull request #2 from hakantkn/patch-1

Required changes for running in Windows.