fix data loss in classToSourceFile mapping after moving top-level class from one file to another file