httpd: put log and run directories in the right place

Closes #119.