Move all the old config conversion code to a new oldconfig.c file, and get rid of misc/registry.c and the misc directory.