Convenient FileSystem functions that return Promises for Cordova