Use localtime() instead of gmtime() for last-modified

Cgit doesn't expect to see UTC time here, and this is causing updated
times to be misreported on servers not running in UTC.