Read files and folder to check from standard input only if parameter '--stdin' is passed

This is necessary, because on Windows don't work stream_set_blocking and stream_select is not reliable.