test: Add append, owner, and permission parameters to MachineCase.write_file()
test: Add append, owner, and permission parameters to MachineCase.write_file()

This uses the new arguments that recently got added to
SSHConnection.write() in https://github.com/cockpit-project/bots/pull/1018

garrett/cockpit,mvollmer/cockpit,mvollmer/cockpit,garrett/cockpit,deryni/cockpit,deryni/cockpit,cockpit-project/cockpit,mvollmer/cockpit,martinpitt/cockpit,garrett/cockpit,moraleslazaro/cockpit,deryni/cockpit,martinpitt/cockpit,deryni/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,deryni/cockpit,moraleslazaro/cockpit,garrett/cockpit,deryni/cockpit,martinpitt/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,deryni/cockpit,moraleslazaro/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,garrett/cockpit,cockpit-project/cockpit,cockpit-project/cockpit