openat: make template easier to use