```go
parts := append([]string{path}, exts...)
```