[tor-commits] [stem/master] Move attribute validation into Directory constructors