Update streams.erl

Fixed an error message that was behaving badly.