Needed to call safe_fname() when listing the remote names.