packer/plugin: flush os.Stderr whenever a plugin ends