rgw: fix type encoding

due to bad merge

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