Use path.join() anywhere paths are built

This will allow the command to run properly on Windows machines.