use webp when possible, otherwise don't change extension