Refactor extract method.
Refactor rename method.
Detect cookbook package archives that are tar and not targz.

Fixes #13.