Fix type spec

Fixes the return value of riak_object:from_binary