app: don't dereference a NULL GError in file_remote_copy_file()