Expands ~'s in config file path

Without this the default config file path, or any path that uses ~'s, doesn't work.

I believe this will fix issue #34