Revert "dx download -r: only reconstruct the last path element"

This reverts commit 70ad4d27d9e75a9f33e3df5530ed1649b0bed0b9.