Update config.py

We can't always assume that there's a $HOME variable to work off of, so use os.path.expanduser to fill out the appropriate user directory.