[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
Merge pull request #2 from lars85/patch-2

[BUGFIX] file name has a slash as last character