moves cache storage until after the post_compile hook.
Merge pull request #90 from buildingenergy/master

Store changes made in post_compile in the cache.