TST: add tests for ensure_writable decorator

Test read-only restored afterwards.
RF+TST: refactor and test zip to directory utils
RF: use custom error for install name failures
RF: add _write_file utility
RF+TST: add utility to find package directories

Find package sub-directories in a directory.
RF: use find_package_dirs function for wheels