1.0dev.31: Fix bug reading from stdin