- previous shallow_bind() was vulnerable to exception. fixed it.
- there seems no such thing like import_file() in python stdlib.
  import_file() impl is very much similar to shallow_bind(), so
  added it to `shallowbind`