[tor-commits] [check/master] Some fixes for go1.0.x