Fix cache generation when the whatis field contains quotes.