await repo.writeFile(content, filepath)
This is a wrapper around firost write method, but scoped to the current repository.