move riak_cs_wm_utils to core