Use path.join and fix spelling

Not sure if this works! Ninja committed it from github