A enable expansion of tildes in paths
built for unix, windows patch welcome
~ expands using the HOME environmental variable.
if HOME does not exist, lookup current user in the user database
userwill expand to the user's home directory from the user database
Error while expanding path
The expansion trait extension