Why are you using hard-coded slashes here and using path.join a few lines above?