fixed argument order for zip write