JPath::check

Checks for snooping outside of the file system root.