Fixed error with command line input stream creation.