Always create task working directory.

This fixes a bug which occurs when a task has no dependencies
whatsoever. In that case, no working directory is created, so here we
create it explicitly before we run a task.