ENH: Update to allow VTK6 or VTK5 writers.

VTK6 changed the API slightly.  This solution was taken
directly from the VTK Wiki Examples.