title: open failed: EACCES (Permission denied) in ionic -2
body: <p>I was using cordova-plugin-file-transfer and cordova-plugin-file-chooser  on Ionic mobile application to upload some files to Android device which can open with native applications like pdf, word, excel..etc</p>
  
  <p>It is now throwing "exception":"/storage/emulated/0/Download/pdf-test.pdf: open failed: EACCES (Permission denied)"}".</p>
  
  <pre><code>openFile() {
      console.log("openFile");
  
          this.fileChooser.open()
        .then(uri =&gt; {
          console.log(uri)
  
          const fileTransfer: FileTransferObject = this.transfer.create();
  
          let options: FileUploadOptions = {
            fileKey: 'files',
            fileName: 'name.doc',
             params: { resume: uri},
            chunkedMode: false,
            headers: {
              'token': this.token,
              'sid': this.sid,
              'user': this.user,
              'to': this.to,
              'node': this.node,
              'type': 'doc',
              'cap': this.cap
            }
  
          }
          console.log("Headers" + JSON.stringify(options));
  
          fileTransfer.upload(uri,this.apiurl, options)
            .then((data) =&gt; {
              // success
              console.log("Response data -&gt;&gt;&gt;&gt;&gt;&gt;&gt; :- " + JSON.stringify(data));
              alert("success" + JSON.stringify(data));
            }, (err) =&gt; {
              // error
              console.log("Error data -&gt;&gt;&gt;&gt;&gt;&gt;&gt; :- " + JSON.stringify(err));
              alert("error" + JSON.stringify(err));
            });
  
        })
        .catch(e =&gt; console.log(e));
    }
  </code></pre>
  
  <p>I also added permission on AndroidManifest.xml</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  </code></pre>