rgw: fix broken obj put

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>