Added a convenient PointStream writer.