Python Pathlib Split Path With Only One Ending