Use fill_pathname_join for populating g_settings.game_history_path