Ensure the contents are actually persisted in the temp file.

[#82238400]
this is wear the magic happens...