export: do not start pager if output will be written to file
A copy of
3b569745af6c.
formatter: carry opts to file-based formatters by basefm
This makes it slightly easier to port "hg export" to formatter.
formatter: remove unused private attributes from baseformatter
No idea what they were for.