[jpegio] use chunked reading in case the filesize isn't available on Open()