g_get_user_data_dir() folder does not exist on macOS compare to gtkfilechoosersettings.c which creates g_get_user_config_dir().