Fix snapshot.py for win64
auto merge of #17109 : brson/rust/win64snap, r=alexcrichton