Expands ~'s in config file path