Fix snapshot.py for win64