Revert non-license changes as part of 0ebe112b

The commit accidentally modified the snapshot script which changed its behavior
and is currently blocking a snapshot.
auto merge of #12173 : alexcrichton/rust/fix-snap, r=brson

The commit accidentally modified the snapshot script which changed its behavior
and is currently blocking a snapshot.