Modest refactor of the CA utils to avoid re-opening files. HTCONDOR-501
Modest refactor of the CA utils to avoid re-opening files. HTCONDOR-501

htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor