fix cordova File plugin retro-compatibility issue