fix bug in tex2vtk.py