[fix] classify file as 'image' when appropriate