attempt to weed out rotten image files