VersionComparator is public domain
ImageCacher: fix regression in 11f46d1 for ccf767c

allocate buffer with just contentLength