title: Cordova 3.4 FileReader not working (no onloadend)
body: <p>I am updating an app from phonegap 2.* to cordova 3.4
  Things are running smooth now, only the file download is not working.</p>
  
  <p>I need to download a file from the internet (host edited) and store it as an JSON file, to have the contents processed later on.
  The download is working fine, the file will be shown in the filesystem, but the FileReader does not fire the <code>onloadend</code> event.</p>
  
  <p>I have tried a few things like <code>onprogress</code> or <code>onerror</code> events, also <code>file.toURI</code> and <code>FileReader.readAsDataURL</code> - nothing worked. Anybody any ideas?</p>
  
  <p><strong>Notes:</strong></p>
  
  <ul>
  <li><code>app.log</code> can be seen as an alias for <code>console.log</code></li>
  <li><code>print_r</code> is defined in another file, working fine</li>
  <li>The downloaded file is just a few kB, shouldn't be a performance issue</li>
  <li>Running on iOS hardware</li>
  </ul>
  
  <p><strong>Full code (extracted and shortened):</strong></p>
  
  <pre><code>var fileTransfer = new FileTransfer();
  
  var loadingStatus = 0;
  fileTransfer.onprogress = function (progressEvent) {
  
      // if we have the complete length we can calculate the percentage, otherwise just count up
      if (progressEvent.lengthComputable) {
          loadingStatus = Math.floor(progressEvent.loaded / progressEvent.total * 100);
      } else {
          loadingStatus++;
      }
      app.log('Transfer Progress: ' + loadingStatus);
  
  };
  
  fileTransfer.download(
      encodeURI('http://www.example.com/export'),
      'cdvfile://localhost/persistent/import.json',
      function (file) {
  
          var FileReader = new FileReader();
  
          FileReader.onloadend = function (evt) {
              app.log('Filereader onloadend');
              app.log(evt);
          };
  
          FileReader.readAsText(file);
  
      },
      function (error) {
  
          // FileTransfer failed
          app.log("FileTransfer Error: " + print_r(error));
  
      }
  );
  </code></pre>