Fixed broken path separator handling on Windows.

Fixes #77.