Added option to save stream if second argument (filename) is set