Added support for Windows paths.