nbd: replace sysfs_create_file() with device_create_file()