specifically models with a nested config.json will mangle the top level
config.json. this introduces a race that produces an error when the
nested config.json is written after the top level config.json.
this also fixes the issue with embedding models where
1_Pooling/config.json could not be read since they get written out as
config.json