Creates directory with cordova and ois platform