forcing $path type in getRawPath()