Updated to comply with Node 0.10 interface for Path.join