Escaping strings in xpoll module.