Fixed gridmanager sending of invalid attribute values to schedd
Fixed gridmanager sending of invalid attribute values to schedd

The amazon_gahp hit an openssl error that had a newline in it. The
error was sent back to the gridmanager who used it as a
HoldReason. The schedd accepted the HoldReason but the transaction log
bailed out because newlines are not allowed in attribute values.

This fix escapes \n's in error messages, which should also make for
nicer logging.

neurodebian/htcondor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,djw8605/condor,htcondor/htcondor,djw8605/htcondor,djw8605/htcondor,neurodebian/htcondor,neurodebian/htcondor,djw8605/condor,bbockelm/condor-network-accounting,neurodebian/htcondor,djw8605/htcondor,clalancette/condor-dcloud,zhangzhehust/htcondor,zhangzhehust/htcondor,neurodebian/htcondor,zhangzhehust/htcondor,htcondor/htcondor,clalancette/condor-dcloud,htcondor/htcondor,djw8605/condor,zhangzhehust/htcondor,bbockelm/condor-network-accounting,bbockelm/condor-network-accounting,mambelli/osg-bosco-marco,zhangzhehust/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,htcondor/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,djw8605/htcondor,htcondor/htcondor,djw8605/htcondor,htcondor/htcondor,djw8605/condor,mambelli/osg-bosco-marco,neurodebian/htcondor,zhangzhehust/htcondor,clalancette/condor-dcloud,djw8605/condor,clalancette/condor-dcloud,zhangzhehust/htcondor,djw8605/condor,neurodebian/htcondor,htcondor/htcondor,bbockelm/condor-network-accounting,clalancette/condor-dcloud,neurodebian/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,clalancette/condor-dcloud,djw8605/condor,mambelli/osg-bosco-marco,djw8605/htcondor,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,djw8605/htcondor,htcondor/htcondor,mambelli/osg-bosco-marco,clalancette/condor-dcloud,djw8605/htcondor,djw8605/condor,djw8605/htcondor,neurodebian/htcondor