When a .exam file is compiled to a zip, it might be a nice idea to include the original .exam file in the zip, so that it can be recreated later on. This way, a compiled zip of an exam would serve as a complete backup of the source, which can be fed back into the editor.
In 'bin/numbas.py', add a file called source.exam to the files list, with options.source as its contents. Look at how scripts.js is added in to see how to do this.
When a .exam file is compiled to a zip, it might be a nice idea to include the original .exam file in the zip, so that it can be recreated later on. This way, a compiled zip of an exam would serve as a complete backup of the source, which can be fed back into the editor.