Make RecordWriterImpl public.

Make RecordWriterImpl public, so that it can be used outside the package.