Replace deprecated `mktemp -t` usage