Expand '~' in user config path if needed.
Merge pull request #8 from zas/userconfpath

Expand '~' in user config path if needed.