fix multiple file processing

When processing more than one file at a time, the done() callback is
called as many times as there are files. This mess up the Grunt state
machine, triggering launching of other tasks before the result of the
previous ones is actually completed.