Engine: If the texturecache.index file cannot be read, invalidate it
This fixes a problem where the texcache file could grow without limit if something managed to corrupt the texcache index.
This fixes a problem where the texcache file could grow without limit if something managed to corrupt the texcache index.