Added untested code to ensure that Pond statefile writes occur atomically; i.e., writes occur to a temporary file without truncating it. In the event that writing fails, Pond will leave behind the old statefile. Not yet tested.
Added untested code to ensure that Pond statefile writes occur atomically; i.e., writes occur to a temporary file without truncating it. In the event that writing fails, Pond will leave behind the old statefile. Not yet tested.

ArneBab/pond,ioerror/pond,saltthefries/pond,infinity0/pond,ArneBab/pond,berkus/pond,sillvan/pond,infinity0/pond,agl/pond,ioerror/pond,agl/pond,sillvan/pond,berkus/pond,saltthefries/pond