wc.go: Instead of panicking, print an error