securify bugfix - use File::Temp to handle temporary files