Avoid sending Blobs on PhantomJS (as on Android)

Uploading a Blob with PhantomJS does not work correctly, as reported here:
https://github.com/ariya/phantomjs/issues/11395
Merge pull request #34 from divdavem/phantomJS

Avoid sending Blobs on PhantomJS (as on Android)