capture: fix wrong charset for frames
capture: fix wrong charset for frames

When option["forceUtf8"] = false, a frame will be saved using the main document's charset.

danny0838/firefox-scrapbook,danny0838/firefox-scrapbook