[GHC] #14533: Make GHC more robust against PC crashes by using atomic writes