Update rados.c

According to http://ceph.com/docs/master/rados/api/librados/ rados_write Returns: 0 on success, negative error code on failure. When using <= comparsion, PUT method always ends with ISE 500.
Merge pull request #699 from nextsux/patch-1

Update rados.c