Write branch information to a text file in h2o R package