title: Moving an image with fs causes it to corrupt
body: <p>I'm using AdonisJS framework, and it has its own method <a href="https://github.com/adonisjs/adonis-framework/blob/cb3d938eab63e21dc10bbb7facf58f87cdc5c923/src/File/index.js#L156" rel="nofollow noreferrer"><code>move()</code></a>, that uses <code>fs</code>.</p>
  
  <p>The issue is that when making use of this method, the image that's moved is corrupted, and when oepning it, this message is shown:</p>
  
  <blockquote>
    <p>Error interpreting JPEG image file (Not JPEG file: starts with 0xef 0xbf)</p>
  </blockquote>
  
  <p>The documentation I based on is <a href="https://adonisjs.com/docs/3.0/uploading-files" rel="nofollow noreferrer">this</a>, so my code is no much different than it.</p>