gitweb: Fix bug in insert_file() subroutine