multimeter plugin: Check the return value of `write'.