Added zpool_pool_state_to_name function.