Fix getPath() by also normalizing $root

Partial fix #122
maybe use strtr($this['path'], '\\', '/') instead?