tweak sha calls for go 1.1 compatibility