binary: Accepts piped input from stdin. Fixes #499