nicer message on error creating streams