Rework secure and cache dirs into FS_ flags
Fix shaders with dots in filenames
Change UI to use the common cache dir
Change game cache paths to share common ancestor