fixed: Try to recache image in case cached texture loading fails

Up till now we didn't handle failed texture loading for cached images. This could occur in cases where the locally cached file is missing (or corrupt) and possibly other scenarios. 
This is partly why I'm suggesting using a key value store, they have invested far more time into handling it than we ever can. E.g. berkleydb (one of the mlre interesting from my tests) https://docs.oracle.com/cd/E17275_01/html/programmer_reference/transapp_reclimit.html