tree export_graphviz: remove unused close parameter and close the file if out_file is a string
Merge pull request #2394 from ndawe/export_graphviz

[MRG] tree export_graphviz: unused close parameter