Use the more ubiquitous 'file' utility instead of the 'identify' utility 

This patch makes use of the 'file' utility for determining image dimensions instead of the 'identify' utility. 'file' comes preinstalled on more systems (including Mac OS).