front: Make sure cache directory exists before caching rom info.