Fixed ouput segfault when using a CGNS mesh.