Fixed path joining problem

On windows root + path created an invalid directory, instead used path.join to build a path that will work across platforms.