i2c: allow binary strings as parameters to write() functions in scripting