Multi-format archive and compression library