Removes separator from os.path.join.