Fix directory creation issue in Windows

Using '/' as the path separator when creating a plugins directory structure with mkdir fails when using Folder->create.   Changed value to OS specific constant DS.
Remove duplicate value

prefix variable was stated twice
Merge pull request #3176 from pjosephson/3.0

Fix directory creation issue in Windows