tools: Read input from stdin when not running in a tty
tools: Read input from stdin when not running in a tty

This allows piping input into bscalc, e.g. running

$ echo "10g + 100m" | bscalc -H
10.1 GiB

rhinstaller/libbytesize,rhinstaller/libbytesize,rhinstaller/libbytesize