Fix a bug in the erasure coding pool creation.

Signed-off-by: Mark Nelson <mnelson@redhat.com>