writeModuleFile

private fun writeModuleFile(jos: JarOutputStream, parts: OverlayParts, shard: String)

Append the rebuilt kotlin_module. Named per shard: the provider unions package parts across modules, so distinct names simply add up, while one shared name would have shards racing for a single path.