The resulting files are created in a temporary folder.
Once they are properly created, they are published by copying them to target location, and then making them available using a move.
This ensures atomic publishing of the entire file contents on distributed file systems.