qapi: qapi.py: allow the "'" character to be escaped