Fix bug in link-files wherein the links went to the wrong directory.