Works around an issue where media cache directories would be set before the app name is set (which Qt uses to return the local appdata dirs used to set the cache directories).