Fix test-case gdb.guile/scm-objfile-script.exp using gdb_remote_download.
Tested on x86_64-linux.
 # Make the -gdb.scm script available to gdb, it is automagically loaded by gdb.
 # Care is taken to put it in the same directory as the binary so that
 # gdb will find it.
-set remote_guile_file [remote_download host \
+set remote_guile_file [gdb_remote_download host \
                           ${srcdir}/${subdir}/${testfile}-gdb.in \
-                          [host_standard_output_file ${testfile}-gdb.scm]]
+                          ${testfile}-gdb.scm]
 
 clean_restart
 gdb_test_no_output "set auto-load safe-path ${remote_guile_file}" \