Dialyzer Fixes

Just a couple of fixes for types caught while dialyzering riak_pipe.