Remove current task from w->current_tasks table only after output from worker
have been fetched successfully. This fixes a segfault when the retrieval of an
output file fails and the worker is removed.
Merge branch 'master' of github.com:cooperative-computing-lab/cctools