Wow, yeah, just commenting out this
#Accelerated function if it is available
if _mimetypes_read_windows_registry:
_mimetypes_read_windows_registry(add_type)
and skipping straight to the winreg module fallback makes everything work again. Hmm.