wcfg: Use w_io_result_t for functionw which write data