fix(rust): write_all instead of write in the extractor (#4646)
fix(rust): write_all instead of write in the extractor (#4646)

Use write_all instead of write; otherwise, file content may be truncated unexpectedly.
kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe,kythe/kythe