Python Pathlib Split Path With Only One Ending Chemistry