sysfs: fix sysfs_chmod_file() such that it updates sd->s_mode too