createinstallmedia: cannot execute binary file I have downloaded the Sierra Installer from the App Store and I would like to make a bootable thumbdrive out of it.

I tried using the createinstallmedia binary that the installer ships with but got the following error:

/Applications/Install macOS Sierra.app/Contents/Resources/createinstallmedia: cannot execute binary file


What happened? How do I go about fixing it?
Redownloaded the installer. And everything works fine.

p.s. I'm in China at the moment. Look like package loss is a real problem here.