instantiate the PLYWriter differently