Path manipulation for windows

The backtick command wasn't working on 64 bit machines due to the brackets in directories such as `Program Files (x86)`. It would drop out with the amusing error:

```
\Microsoft was unexpected at this time
```

This fixes that.