Fix machine_file and machine_execute which depend on connect_to_machine ...

...being a public method