dotfiles: makes sure all parent directories of symlinks are created before creating symlink