fix for mmenu caching; when caching preview, use the appdata dirname if specified...