Add root_dir to avoid endless unpacks
Merge pull request #11 from stevenpost/unpack-loop

Add `root_dir` parameter to avoid endless unpacks