(create_temp_file): New function.