fix(plugin/runner): write Wasmer cache atomically (#12100)