Viewcapturetofile and rhino render

This particular bug should be fixed in the latest RhinoWIP (5E41w). Please give it a try.