python/path.py: Updated for version 7.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>