added default value for expectedreturncode; added deb file support for unpacking tarball