Forward slashes in the command are not replaced with backslashes

Here's a pull request for feature #4