[IMP] Option to permit custom dump for backup

This improvement is necessary for future migrations.

It permits the user to get the original PostgreSQL custom dump that we
use to have until version 8.0.

@rim-odoo 
Could use .get, and raise an exception if `extension is None`, something like that?