[sanlock] 12/23: tests: Add util.generate_path for generating file paths by encoding