Added Relink function

The relink function will do an atomic relink of a symlink to a new path