calcs/base, hazard/general, risk/base:

Factored out the common export code (the ``export`` method) to the base
Calculator class.