title: dompdf not creating pdf correctly
body: <p>I'm using dompdf to try and convert html into a pdf file. The file was created no problem but when I tried to open the file, it was corrupt. When I opened the file in notepad, I could see it was just the raw html. So it hadn't converted anything at all, it had just put it in a file with an extension of pdf.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>include_once '/files/dompdf/dompdf_config.inc.php';
  $files = glob("/files/dompdf/include/*.php");
  foreach($files as $file) include_once($file);
  
  ob_start();
  ?&gt;
  
  &lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;title&gt;
              Title
          &lt;/title&gt;
  
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div&gt;&lt;p&gt;Hello World&lt;/p&gt;&lt;/div&gt;
      &lt;/body&gt;
  
  &lt;/html&gt;
  
  &lt;?php
  $html = ob_get_clean();
  
  $dompdf = new DOMPDF();
  $dompdf-&gt;load_html($html);
  $dompdf-&gt;render();
  $dompdf-&gt;stream("sample.pdf"); 
  </code></pre>
  
  <p>This just grabs the html exactly as it is written here and saves it as sample.pdf but its not a proper pdf file. Am I missing something?</p>