`mode_tempfile` setting to construct temp filename in different ways