Fix image extensions for characters.