title: NeDB not loading or storing to file
body: <p>I cannot get the simplest example of NeDB to run properly. My code only works in-memory, persistence to file keeps failing without any error messages. </p>
  
  <p>The error callbacks for the loaddatabase and insert events always pass a null reference as error, so no information there. Oddly it seems no one else has this issue, so I guess I'm missing something here. All help is much appreciated. </p>
  
  <p>Here is the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var Datastore = require('nedb'), db = new Datastore({ filename: 'test.db' });
  
  db.loadDatabase(function (err) {   
    alert(err); // err is null, with the autoload flag no error is thrown either
  });
  
  var doc = { hello: 'world'};
  
  db.insert(doc, function (err, newDoc) {   
    alert(err); // err is null here as well. Doc will be in the memory storage but no persisted to file
  });</code></pre>
  </div>
  </div>
  </p>