Fix zip uploads and downloads