front: Create parent dirs in ConfigFile rather than assuming caller did.

This also fixes the incorrect mkdirs calls in RomCache.
front: Fix RomCache crash on unknown ROMs.