Restore neurokernel/tools/misc.py.