Optimize any jpeg and png files in directory.