Fixed remaining compilation problem on VS 2012.

Now using an explicit conversion of size_t to VertexIDType in VTK writer.