PERF: StataWriter is slowStata write performance