JpegImagePlugin sets bufsize for optimized images

fix for #148