dumps: Format hdfs dumps as bulk insert lines
We still produce public dumps from the php dumper, but the dumps we generate in hdfs happen much quicker (more parallelism). Add a method to format the hdfs dumps into the opensearch bulk import format, with the intent that these could be published instead of the existing php dumps.
These will still be slightly different, in particular this will generate many files per wiki, where as previously we would generate one giant compressed file for the large wikis. That means these new dumps will not simply be a drop-in replacement for the old ones.
Bug: T366248
Closes T366248