m_UpdatedFiles was being updated while it was still being used by the script thread. Instead, copy the list, clear it out, and have the script thread process the copy.
As long as you have IronPython 2.7.3 you should be able to compile now with this commit.