Update system call for windows use

Updated the syntax for use on windows systems. The ' | type' was causing
an error on the windows system call. Basic testing shows that removing
the ' | type' from the system call results in a working script.
Merge pull request #3 from benhager/master

Syntax update for Windows usage