Fix File and FileTransfer Cordova breaking changes

Fix File and FileTransfer Cordova breaking changes