Fix file writing related to tuples

Previously, because of how the ROOT global file pointers work, the
tuples were getting "sucked into" the histogram file as well as being
saved in their own tuple file. Now they will only be saved in their own
file.