Create path using os.join.path instead of ''.join

Change-Id: Idac914bc58d18e9db55b880a4edf50085c799d5c