path.join error from Node 0.10

Updated path.join to include "or ''"