Replication for bug in Cordova File plugin on iOS