Restore --check option for sxadm

Avoid making automatic index by sqlite and create one in place
Report number of encountered errors after hashfs checking