Windows fix for empty default stanza bug.

We now strip trailing slashes from our directory.