brp-25-symlink: massive rewrite to reduce number of calls