Fixes bug in symlink creation.