Made writeback_t::sync not try to call on_sync on a NULL callback.