Clean up logging in import_export.py