Bugfix: wrong scanned bytes for init scan

When init_scan_lookback is less than the number of blocks in target
file, the calculation for scanned bytes is incorrect during the first
scan.
Minor change: on adjust blocks by state

Pre: no adjust when state file exists
Now: no adjust when state file exists, plus it contains a positive value