Change archive_repository to use a temp file instead of StringIO