Phonegap: Fixed Filesystem api