A virus DNA gate: Zipping and unzipping the packed viral genome