<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _write(self, str_buf):
 """Uses the filehandle to the file in GCS to write to it."""

    self._filehandle.write(str_buf)
    self._buf_size += len(str_buf)