server: Add a helper function to create a symlink to an existing object.