change from Streamreader back to normal stdin

codecs.getreader does not seem to support line-by-line
reading / sidestepping the buffer issues.