9.5 write to file behaving weird

I have some one-steps where I do a Write To File action. Sometimes it's a RTF file, sometimes a PS script.

Before 9.4, I was able to write to the file and then use the file within the same one-step.

Now, with 9.5, I have to write to the file in a dedicated one-step within the one-step. It's like the write to file action doesn't get completed until the end of the one-step.

Anyone having the same issue or having ideas?