Added support for Windows paths. Fixes #1