Fix dangling files coming from previous compilation runs.

When the inheritance chain of some class C changes from
one compilation run to the other, the .js file for C
changes name, because its ordering prefix changes.

This commit makes sure that files generated by previous
compilation runs are deleted.