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

No, it uses `myName`, not `myID`