unpack: extract usage
unpack: don't call realpath on potentially non-existent directory
unpack: don't attempt to chdir into regular files