fix error path NULL arg
Do not hide return value of sx_hashfs_hdist_endrebalance()
Restore --check option for sxadm

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