Merge "Use write_buffer_to_statsd within StatsLog_write"