Encode also commas for PDF headers.

If filename is both UTF-8 and contains commas, then Chrome was failing
with ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION because commas
were left as they are in the UTF-8 filename.