Handle backslashes in Windows paths

Closes #3