Small fixes to data conversion scripts.