expand

Expands the str replacing ~ with the user home