Cordova file plugin compatibility