ext: fix initial write of new record with DNET_IO_FLAGS_COMMIT