add .jpg extension to images without extensions