title: sails: TypeError: path must be a string
body: <p>I'm trying to read xls file to json format by using <code>xls-to-json</code> node module 
   while sending a file path it shows an error like path must be a string</p>
  
  <p>I'm Using below snippet</p>
  
  <pre><code>var fs = uploadedFiles[0].fd;
  //fs is a file path                                                     
  node_xj = require("xls-to-json");
  node_xj({
            input:fs, 
  
          }, function(err, result)
             {
                  if(err) 
                  {
                     console.error(err);
                  } 
                  else 
                  {
                      console.log(result);
                  }
              });
  </code></pre>
  
  <p>Error</p>
  
  <pre><code>    fs.js:430
    binding.open(pathModule._makeLong(path),
            ^
  TypeError: path must be a string
  </code></pre>
  
  <p>please help to fix this issue.</p>