Port config.c to config.go, and eliminate pathnames.h.