vfs, seqfile: export mangle_path() generally