In ImageProxy don't write temporary file to disk, write and read to and
from cache. Just pass the data reference around.