Lint scanoptimize

Swap out backticks and quote parameters derived from `mktemp`.