Compile Core Data mapping models when copying resources.

Mapping models are copied now as-is, without compiling. This commit fixes it.