Make directories and files before creating symlinks.

Before creating a symlink to shared file or directory we need to create directories and files.