Write the configs in the given class to the specified file in the old config format.
Write the protos in the given class to the specified file in the old proto format.