file(TIMESTAMP): Interpret relative paths w.r.t. the source tree

Fixes: #23610
4 files changed