[fix] stack could mistakenly be seen as a FileDirectory if the contained extension was ISO