Copies the file given in the credentials to a temporary location, then sets the variable to that location.
(The file is deleted when the build completes.)
Warning: if the master or slave node has multiple executors,
any other build running concurrently on the same node will be able to read
the contents of this file.