ENH: allow to_html and to_latex to take a file name as their first argument
Merge pull request #3702 from cpcloud/read-and-friends-path-or-buf

ENH: allow to_html and to_latex to take a path for their first argument