try again at escaping error strings which are nasty since they contain both
single and double quotes