ssh: add new get_file_obj method to fetch remote files