Python Split Path Into Directories