erasure-code: separate profile from pool creation

This is just for backward compatibility. It was hardcoded before and should not have been. I will document this in the function instead of just documenting it in the commit message.