implement undo logic for unlink(symlink)