Fix stream buckets with timeout

The wrong guard was used for bucket types, causing a call with a timeout
to fail. This fixes a problem found running the verify_api_timeouts riak
test