consistent os.path.split