Fix bug on Windows: 64-bit int size

It looks like the format specifier for Python needs to be "L" to get a 64-bit
value on Windows.
Reformat