[bugfix] Made tempfile_wrapper guide tempfile's way of creating new
names