remove unused homebrew-fork method popen_write
Merge pull request #8434 from rolandwalker/remove_homebrew_popen_write

remove unused homebrew-fork method `popen_write`