[tor-commits] [metrics-lib/master] Fix encoding bug in RelayDirectoryImpl and NetworkStatusImpl.