Refactor path-params function
Unused :use
Missplaced docstring & deprecated middleware

`wrap-file-info` middleware is deprecated but `wrap-content-type` and
`wrap-not-modified` provide same functionality together.