Fix strange error if using struct_v as metadata_section member name
Use EFAULT for any bad incoming data during import
Handle metadata section
  Use final transaction to rename collection
Remove dead code
On error use exit status 1