Python Get Parent Directory Of Path