Fixed bugs in wss::Path. Fixes unit tests.