code: func (store FileStore) writeInfo(id string, info tusd.FileInfo) error {
  	data, err := json.Marshal(info)
  	if err != nil {
  		return err
  	}
  	return ioutil.WriteFile(store.infoPath(id), data, defaultFilePerm)
  }
docs: // writeInfo updates the entire information. Everything will be overwritten.