Fix a GC-reliant unclosed (leaked) file descriptor in PyCUDA cache access.
Use new-style buffer interface for 's' format character in _pvt_struct_v3.
Mark PyCUDA as Python 3 compatible.