xhttp_pi: fix escaping
(cherry picked from commit dd004947906628784ffdf15a0fe5cf4421040ddc)