[tor-commits] [metrics-lib/master] Added test and cure for corrupted history file.