-(add) added missing license header
-(fix) writer was calling archive_read_free instead of archive_write_free