Fix image extension.