Aha, so if you put the pdf in a zip file it doesn't work. That makes sense, actually. I'll see if I can add support for submitting pdfs inside zips.
I figured it out. For anyone else who is having this problem, just upload the PDF file without compressing it.