Extract page source, not just text, into WARC record

Oh, I guess this is kind of similar to Capture page modified by userscript (sorry for starting a new thread), although I’m hoping for a little cleaner of a solution than they landed on there.