fix the endianness in vtk files: it must always be BigEndian