Support input from stdin. Fix #41
v0.3.31