Charts now are using a temporary file instead of write directly on the Image.