Fixed symlink creation when directory doesn't exist