cmd/internal/archive: make error message contain printable characters only
cmd/internal/archive: make error message contain printable characters only

Use %q instead of %s to print unchecked bytes. Also strip the
"\x00" byte, as "go116ld" reads better than "\x00go116ld".

Change-Id: Id3d1f426ea91d53a55b928dac4a68e1333b80158
Reviewed-on: https://go-review.googlesource.com/c/go/+/315750
Trust: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>
Run-TryBot: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>
Reviewed-by: Than McIntosh <4b2922593166fc595a9b1a408f34f5d3817fe9d2@google.com>
Reviewed-by: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

cloudflare/go,CAFxX/go,golang/go,cloudflare/go,cloudflare/go,golang/go,nawawi/go,nawawi/go,cloudflare/go,cloudflare/go,nawawi/go,CAFxX/go,CAFxX/go,CAFxX/go,nawawi/go,golang/go,nawawi/go,CAFxX/go,CAFxX/go,golang/go,golang/go,cloudflare/go,nawawi/go,nawawi/go,golang/go,cloudflare/go,nawawi/go,cloudflare/go,golang/go,CAFxX/go,CAFxX/go,golang/go