Fixed findTaskFile so TaskCmd works with node v0.10

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