bakcontent: also use the file size to decide whether to reuse sha512