file: Add `ARCHIVE_*` options to specify pathname encoding

Issue: #26903
35 files changed