FIX #1963: use Cabal's writeFileAtomic to write the new package.conf