`WP_CLI::confirm()` doesn't flush output

It uses `echo`, instead of `fwrite()`.