tarfile extract: fixed code to accept fullpath