encodeSlashInPath