Minor fixes.

* Use words instead of lines to read the task file.
* mod_fastcgi chokes on empty responses, so set a header.
* Use deepseq to make sure HEAD returns the same response code as GET.