Conversion of the rest of the mesh_output_writer module