It appears that closing a file (the plan) then creating a file with the same name for overwrite, fails on "fast" systems (like with a SSD).
Tested without harmful side effects. Accepted!.