Fix deprecated FileSystem@getRemote()