Make it so that CSV-cert generation passes back file-like objs instead of strings.