Fix PR cli/23785: Check if file exists when invoking "restore FILE binary"