tests: added DNET_IO_FLAGS_COMMIT test
ext: fix initial write of new record with DNET_IO_FLAGS_COMMIT