[tor-commits] [onionoo/master] Fix off-by-one bug in writing history documents.