Implemented retrieval of portal files during tar/zip archive generation and other ArchiveService improvements