ACCUMULO-2993 fix division by zero

When given a filename, wc will output that filename, resulting in bad
division as the shell tries to interpret path separators. Instead, we
can have wc read from stdin.