Handle local file:/// paths on Windows

Windows can't handle a path like `/c:/foo`; when turning file:///
URIs into local paths, we must strip the leading slash.
Merge pull request #2467 from ethomson/win_local_clone

Handle local file:/// paths on Windows