#57257EM: Extracting t3x tries to do a "writeFile" on directories
Description
If you choose the “Development Preset”, E_WARNING will be turned into Exceptions.
If you try to install an extension with this setting, you will end up seeing that when extracting extensions, it tries to use writeFile on directories (and not only files).
Get rid of this by checking if the file ends with an “/” before trying to write to it.