title: Adm Zip zipping files as directories
body: <p>I am trying to pack files into a zip file using Adm-Zip </p>
  
  <pre><code>var AdmZip = require('adm-zip');
  
  var pathToZip = 'build/release/Ext.zip';
  
  
  var zip = new AdmZip();
  
  zip.addLocalFile('background.js');
  zip.addLocalFile('chrome_ex_oauth.html');
  zip.addLocalFolder('images');
  zip.writeZip(pathToZip);
  </code></pre>
  
  <p>However, all the files are getting added as folders inside the zip and the actual content is not getting zipped. </p>
  
  <p><a href="https://i.stack.imgur.com/NTuss.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NTuss.png" alt="Screenshot"></a></p>
  
  <p>The Getting Started reference is below and this seems to be a very simple example which is not working as expected. What am I doing wrong?
  <a href="https://github.com/cthackers/adm-zip/wiki/ADM-ZIP-Introduction" rel="noreferrer">https://github.com/cthackers/adm-zip/wiki/ADM-ZIP-Introduction</a></p>