add trailing slash to plugins dir path