Moved core::extfmt to core::private::extfmt

Needs a snapshot to remove stage0 extfmt export in core.

Closes #4750