write_archive bug