Create a file on the remote host.

def create_file(self, path, content, mode='w', user='root'):
        """Create a file on the remote host.
        """
        self.enable_user(user)
        return self.ssh_pool.create_file(user, path, content, mode)