Adding a temporary file class for RAII temp files.