Update RandomWriter.cpp