nvi: Convert catalog creation to use hostprog.