Serialize the cabal files to disk.