fix image file suffixes