Check and create directories before symlinking