code: def push_file(self, path, data, encode=False):
          
          driver = self._current_application()
          data = to_bytes(data)
          if encode:
              data = base64.b64encode(data)
          driver.push_file(path, data)
docs: Puts the data in the file specified as `path`.
  
          Android only.
  
           - _path_ - the path on the device
           - _data_ - data to be written to the file
           - _encode_ - True/False encode the data as base64 before writing it to the file (default=False)