daemon: use callback to build interpolated path