add optional userfunc in root2hdf5 to perform user-defined processing of input tree before converting to PyTables