Fix write and writepaired I2C functions
improve syslogd trace