PERF: use lazy imports on py37 to speed up import
IIUC py37 supports patching of module-level `__getattr__`.  One of the big uses cases for that is lazy imports.  This might be nice to use for some lesser-used modules, e.g. in `io`.

Not sure how much trouble it will be to do this conditionally for py37+ only.