Fix building Python integers from size_t values

Use the `n` format specifier instead of `l` to build Python integer or long integer objects from size_t values. See http://docs.python.org/2/c-api/arg.html