Exports print function for random forests.