erasure-code: separate profile from pool creation

I apologize, I didn't see your commit message - which is a fantastic one (really).

But I'm still wondering if it'd be a little better to just take regular args and build the dict inside the function.