Add file typing for 'file' command.

Fixes a regex issue for dex files also adds support for
zImage boot/recover images and compiled resource files.

Working on getting this accepted and pushed upstream in
the actual file command repo.

These have only been tested and confirmed in file version 5.14,
I can confirm that file 5.04 did not accept these changes.