Add pipe support and explicit code/file flags to bin

Closes #14.
0.0.11