Implement sharding for bucket creation.

Signed-off-by: Guang Yang (yguang@yahoo-inc.com)