Apple has issued a fix to the "automatically deleted caches" feature of iOS 5, slated for 5.0.1, which is currently in the hands of developers.
The iOS 5 “file purge” issue | OzRunways
I have put all the code I need in 2.5 now, so when that is released, this won't be an issue anymore.