Promote the link reading code to the `util` module.
Use `utilReadLink()`.