Finalize writing of revised files