driver: Check that temporary files with module scope are cleaned appropiately
I suspect there is something broken with temporary files not being cleaned promptly. Files with module scope should be cleaned after each module is compiled but I can observe my temp directory getting larger and larger as compilation proceeds.
Repro:
- Compile any project with --make mode
- Observe temporary files not being deleted