Fixed OpenWrite call for robotC 4.0