sysfs: create optimal relative symlink targets