Move output of root files to endStream

Move the outputting of root files from endJob (which does not get called) to endStream.  This matters only when the recHit validators are invoked standalone and configured to write root files.