gitweb/lib - capture output directly to cache entry file