`-generate` flag should also create config.xml (closes #847).

myID is used by `defaultConfig()`. Without it, you'll get a key that's all 'A'.