kpatch-build: redirect output of wget, dpkg, and tar to log file, add error message if tar fails