erasure-code: separate profile from pool creation

Yeah, there isn't really a good way to use a dict as a default argument. That is, again, one of the reasons I suggested using normal arguments instead of taking a dict.