Include class name in exported free space.

This can be coded more efficiently,
but this is probably fine as it is for exporting
is an infrequent operation.