Fallback for cordova FS api change