refactored ImageSitemapGenerator. in the process creating new files.