clone: properly create target directories during local clone (issue6581)

The store encoding was mudding the water. This lead to local clone crashing for
file with long filename as their destination directory needed to be encoded.

Differential Revision: https://phab.mercurial-scm.org/D11340
20 jobs for topic/stable/issue6581 in 95 minutes and 45 seconds (queued for 6 seconds)
Name Stage Failure
failed
windows-py3 Tests
Reusing existing Mercurial repository
lock: free
wlock: free

Pulling changeset 7b5827f1a1996161c755182b600ba21a62138b3c...
pulling from https://gitlab-ci-token:***@foss.heptapod.net/octobus/mercurial-devel
abort: filtered revision '7b5827f1a1996161c755182b600ba21a62138b3c' (not in 'served' subset)
Cleaning up file based variables
ERROR: Job failed: exit status 1