add an req_path_handler opts to renderer.static

I need to hash all my static files in production environment. It'll be convenient if nobone can offer an optional method to handler with the `req.pah` for static files. So I add this opts to  renderer.static, in order to I can do the hash mapping work more easily.