Move `make-timestamp-fn` to `encore` lib