Fail graciously when json data file cannot be saved to disk.