Fix an error where the json files can't be created.