title: PhantomJS fails to open local file
body: <p>I am trying to open a local HTML-file with PhantomJS (version 1.9.2):</p>
  
  <pre><code>var page = require('webpage').create(), fs = require('fs'),
      address = "/Full/Path/To/test.html";
  
  console.log('isFile? ' + fs.isFile(address));
  console.log('isReadable? ' + fs.isReadable(address));
  page.open(address, function(status){
      console.log('status? ' + status);
      console.log(page.content)
      phantom.exit();
  });
  </code></pre>
  
  <p>First I check if I got the right path and if the file is readable using <code>fs.isFile()</code> &amp; <code>fs.isReadable()</code>. Then I check whether phantomjs succeeded in opening the file (with <code>status</code>). Independent of the actual contents of the file I always get:</p>
  
  <pre><code>isFile? true
  isReadable? true
  status? fail
  &lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>So the file and the path seem to be okay – but PhantomJS fails to open it!
  Any suggestions?</p>