Path name sanitizer. Path will be normalized to "/aa/bb/cc".