Fix image extension