title: meteor cfs:filesystem upload from ios to server result in zero bytes file
body: <p>I'm running on iOS using cordova capture and cfs filesystem.
  after capturing video or images i'm using the upload.
  no errors but, files are zero/0 size in the end.
  (I'm working on my macbook pro by the way)</p>
  
  <p>this is my collection and store declaration:</p>
  
  <pre><code>Videos = new FS.Collection("eventVideos", {
    stores: [new FS.Store.FileSystem("eventVideos", {
        path: "~/Documents/dev/chain/public/videoUploads"})]
  });
  </code></pre>
  
  <p>this is the cordova capture code residing in a template event:</p>
  
  <p><code>navigator.device.capture.captureImage(videoCaptureSuccess, videoCaptureError, {limit: 1});</code></p>
  
  <p>i'll spare you the videoCaptureError function since it doesn't really do anything right now, but the videoCaptureSuccess looks like this:</p>
  
  <pre><code>videoCaptureSuccess = function(mediaFiles) {
     var i, path, len;
     for(i = 0, len = mediaFiles.length; i &lt; len; i++) {
       path = mediaFiles[i].fullPath;
       Videos.insert(mediaFiles[i], function(err, fileObj) {
         alert(fileObj.size());
         if(err) {
           console.log(err);
         }
       });
     }
   };
  </code></pre>
  
  <p>note that the alert inside videoCaptureSuccess returns a positive number meaning there is data in there, the pictures are also saved on the device.</p>
  
  <p>what's wrong?</p>
  
  <p>---update---</p>
  
  <p>when i click the camera from the app this message shows in xcode console:
  Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.</p>