Update to use stream from factory instead of streams param for `cmd/preflight_check.go`
We need to update preflight_check.go to use GetIOStream() from the factory param instead of passing streams as a param and update the test accordingly.
Edited by Rehan Khan