Fix PymagingImage cannot save