[FixRM #8317] - Fix possible double slash in file path

It is possible to have a double slash in the base path, shouldn't happen.  See:

http://dev.metasploit.com/redmine/issues/8317