save images with lowercase extension