Get the bin path for commands in the unarchive module

Fixes #6927