fix for slashes in Windows paths