Replace –flagfile arguments with –config-file arguments.
Replace any –flagfile argument in the supplied list with a –config-file argument containing a temporary config file with the contents of the flag file translated to .ini format.
The tempdir argument is a directory which will be used to create temporary files.
A context manager for handle_flagfiles() which removes temp files.
For use with the ‘with’ statement, i.e.