Fixed handling of large image data when stored in FileChunk