Convert to forward slash before creating leading directory

Fix clone failure when target directory is C:\1\2 but C:\1 does not exist, using Windows Command Prompt