replace outfile with an http_handler system

This operates at a lower level and allows more
control over handling the response.
add a filesystem archiving example