What is the right way to create 3D meshes for FEniCS with Gmsh?

See for instance: Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio - #174 by dokken