Fix resource generator ordering

We don't want to run promises simultaneously since we may end up with prompts
for existing files. Run back to back instead.