We now perform the AST serialization directly on file, without using stderr. In this way we can follow the evolution of simplifications and changes to the AST tree.