change delete to doDlete
change cloud code to use .sync
change cloud code to use .sync
Merge pull request #1 from maleck13/master

updates for using $fh.sync