bug #1781: Replaces " by ' and escape ' using '\''. context.sh should be now sh-syntax secure