convert: add support for deterministic progress bar on scanning phase
This makes it possible to estimate how long the "scanning source"
phase will take, if the specified source repo type supports a quick
"how many changes" check.
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\n
OK.