task: add writeTo method to i2c exports

Signed-off-by: Chris Hannon <himynameschris@gmail.com>