Escape single quotes in bash shell command for expect script