Changed second case for isSameFile to only check if file systems differ. No need to check if the provider differs.