You could use a block until done , connected to the render and to the output. In this way you can write over the same file
I hope it helps
You should use the block until done to run the render tool first before the output data.
Please see below for your case:
Here, we are making sure the render will execute first and then the output data.
Pedro.
Pedro.