Cordova Plugin - download remote DB and save to the sdcard