Escape strings in executor for -printdefs