Fix segfault with net io engine and no file/hostname given