fixed path.join for node v0.10