Handle Windows path separator

Closes #1