sha1_file: use strbuf_add() instead of strbuf_addf()