ios: Don't fail a write of zero-length payload.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file