Properly clean up the .cabal file.