title: fs-extra throwing ERROR: EBUSY: resource busy or locked
body: <p>I am trying to delete one file and one folder asynchronously by using fs-extra.
  But it is throwing the following error.</p>
  
  <pre><code>import fse from 'fs-extra';
      function deleteMethod (foldername){
      fse.remove(`${foldername}-tar.gz`)
      .then(() =&gt; fse.remove(foldername))
      .then(() =&gt; çonsole.log('successfully deleted'))
      .catch((err) =&gt; console.log(err))
      }
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>{ [Error: EBUSY: resource busy or locked, unlink'D:rootpath\15\image.jpg']   
  errno: -4082,   
  code: 'EBUSY',   
  syscall:'unlink',   
  path:    'D:rootpath\15\image.jpg' }
  </code></pre>
  
  <p>Error occurs in second delete statement.
  Can someone please explain why it is happening.</p>