Fix download bug with archives