Use path.join and fix spelling

Not sure if this works! Ninja committed it from github
maybe jinn should provide a base path for the app