error message for passing APKs to the redex binary
error message for passing APKs to the redex binary

Summary: We have seen open source issues (https://github.com/facebook/redex/issues/493) before where APKs have been passed to the `redex-all` binary, however that is supposed to receive dex files only. To avoid it, specifically treat that case and have a better error message. Note that the code checks for all sets of archive files, which are known to have the first two bytes "PK".

Reviewed By: amnn

Differential Revision: D26946781

fbshipit-source-id: c0ea339512bb567cc9ba3111d62d6cc533f07810

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex