iowatcher: check the return value from write()

Signed-off-by: Chris Mason <clm@fb.com>
1 file changed