fix issue #1289 bug in zero length put
Merge pull request #1290 from jclouds/issue1289

bug in zero length put