Use scala.util.Try instead of Option for creating streams