Revert atomic write refactoring
This reverts !391 (merged), which seems to regress on Windows. Specifically the hsc2hs
build fails with
C:\GitLabRunner\builds\28891e3c\0\ghc\ghc\tmp\ghcFD3.o.tmp: renameFile:renamePath:MoveFileEx "\\\\?\\C:\\GitLabRunner\\builds\\28891e3c\\0\\ghc\\ghc\\tmp\\ghcFD3.o.tmp" Just "\\\\?\\C:\\GitLabRunner\\builds\\28891e3c\\0\\ghc\\ghc\\tmp\\ghcFD3.o": does not exist (The system cannot find the file specified.)
make[1]: *** [utils/hsc2hs/ghc.mk:23: utils/hsc2hs/dist-install/package-data.mk] Error 1