[BUGFIX] file name has a slash as last character

Eliminates this exception of the extension "mwimagemap":
fopen(vendor/composer/cfaaff2b/mod1/colpicker/): failed to open stream: Is a directory