sha1_file: replace PATH_MAX buffer with strbuf in prepare_packed_git_one()