Changes path joining to os.path.join, to support windows systems