Added windows support (without breaking POSIX)

This is very similar to https://github.com/jaredly/ssh-keypair/pull/2 but I added a conditional check for windows to modify the argument list.