Fix. `filename` and `type` arguments in `form:add_stream` may be nil.