Unregister the FileSystem when it is closed.