Rename PathException to InvalidPathException to avoid conflict with path 0.6+
Rename PathException to InvalidPathException to avoid conflict with path 0.6+

Fixes #3223
mrkkrp/stack,juhp/stack,martin-kolinek/stack,MichielDerhaeg/stack,mrkkrp/stack,juhp/stack,MichielDerhaeg/stack,anton-dessiatov/stack,martin-kolinek/stack,anton-dessiatov/stack