Refactor the rake symlink tasks