title: nodejs gridfs buffer is offset by two bytes
body: <p>I'm using this function to retrieve the file. there are some other function calls before that pulls the md5sum out of the request, makes sure the file exists, then calls buildFile().</p>
  
  <pre><code> FileChunker.prototype.buildFile = function(file, callback) {
           self = this;
           console.log(file);
  
           this.gridfs.get(file._id, function(error, data) {
                   if (error) {
                           console.log(error);
                           callback(error);
                   }
                   else {
                           callback(null, data);
                   }       
           });     
      }; 
  </code></pre>
  
  <p>here's the resulting hexdumps.</p>
  
  <p>original file on disk (imported via mongofiles, can be properly retrieved via mongofiles)</p>
  
  <pre><code>~/_nodejs% hexdump -C test.txt
  00000000  41 42 43 44 45 46 47 48  49 4a 4b 4c 4d 4e 4f 50  |ABCDEFGHIJKLMNOP|
  00000010  0a                                                |.|
  00000011
  </code></pre>
  
  <p>output from nodejs</p>
  
  <pre><code>~/_nodejs% hexdump -C OUTPUT
  00000000  11 00 00 00 41 42 43 44  45 46 47 48 49 4a 4b 4c  |....ABCDEFGHIJKL|
  00000010  4d                                                |M|
  00000011
  </code></pre>
  
  <p>if we <code>console.log</code> the Buffer object, we see the extra data as well:</p>
  
  <pre><code> &lt;Buffer 11 00 00 00 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d&gt;
  </code></pre>
  
  <p>I've been smashing my head against this for some time and have no idea what to do next. it's like the <code>gridfs.get()</code> is just returning the wrong data.</p>