create_temp_treelog_filename function

Create a filename for a temporary treelog file