Fix a bug on Path.split/1