Config file wasn't getting saved

Hey, sorry I sorta disappeared for the last month! Here's a quick patch to hopefully fix the configuration file not being written due to some kind of path error. Please test first! Works here. I think the os.path.join use will also be cross-platform compatible if that's ever an issue.

Scott