reflog: add a convenience append function Provide a function that reads a reflog, performs an append and writes back to the backend in one call.