file-format/template-get: fall back on epoch time if we don't have a cached time