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

That's exactly what I'm saying. Feel free to try and remove it ;)