Fix NullPointerException in CachedMobFile.