Created potential insecure temporary file in call metric.

Signed-off-by: Alysson Raniere <alysson.raniere@gmail.com>
Signed-off-by: Carlos Filipe <carlosfilipe.lb@gmail.com>
Signed-off-by: Paulo Borba <pauloesb@gmail.com>