Improve the generation

- Prevent the generation of some files if they already exists.
- Create the empty source and ouput folders to remove errors.