Fixing `findTaskFile` so TaskCmd work with node v0.10.0

path.join need a string argument since node v0.10.0 and an exception is
thrown otherwise