Fix path escaping on Windows

Closes #3.