net: handle errors from device_rename