code: func (rsync *RSync) Close() error {
  	for _, f := range rsync.OnClose {
  		if err := f.Close(); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // Close - close open files, copy to the final location from
  // a temporary one if neede