docs: def write_to_local(self, filepath_from, filepath_to, mtime_dt=None):
          """Open a remote file and write it locally."""
  
          self.__log.debug("Writing R[%s] -> L[%s]." % (filepath_from, 
                                                        filepath_to))
  
          with SftpFile(self, filepath_from, 'r') as sf_from:
              with open(filepath_to, 'wb') as file_to:
                  while 1:
                      part = sf_from.read(MAX_MIRROR_WRITE_CHUNK_SIZE)
                      file_to.write(part)
  
                      if len(part) < MAX_MIRROR_WRITE_CHUNK_SIZE:
                          break
  
          if mtime_dt is None:
              mtime_dt = datetime.now()
  
          mtime_epoch = mktime(mtime_dt.timetuple())
          utime(filepath_to, (mtime_epoch, mtime_epoch))